package com.itheima.service.mongo;

import com.itheima.domain.db.User;
import com.itheima.domain.mongo.Sound;
import com.itheima.domain.mongo.UserSound;

import java.util.List;

public interface SoundService
{
    //接受语音
    Sound getSounds(Long userId,String gender);

    //保存录音，发送
    void save(Sound sound1);

    //查询所有录音
    List<UserSound> findAll();

    //根据用户Id查询使用次数
    Integer findTimeById(Long userId);

    //保存每日的更新
    void  savaUserSoound(UserSound userSound);
}
